# $Id: PKGBUILD 74854 2012-08-07 14:17:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Moore <davidm@sjsoft.com>

pkgname=aqbanking
pkgver=5.0.25
_dnrel=95
pkgrel=1
pkgdesc="A library for online banking and financial applications"
arch=(i686 x86_64)
options=('!libtool')
url="http://www.aquamaniac.de/aqbanking"
license=('GPL')
depends=('gwenhywfar' 'ktoblzcheck' 'libofx')
options=('!makeflags' '!libtool')
source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${_dnrel}&file=01&dummy=aqbanking-$pkgver.tar.gz")
md5sums=('b238639962128ce25db81870f65173d9')

build() {
  cd $srcdir/aqbanking-$pkgver
  export PKG_CONFIG=/usr/bin/pkg-config
  ./configure --prefix=/usr \
	--with-backends="aqhbci aqofxconnect" \
	--enable-gwenhywfar
  make
  make DESTDIR=$pkgdir install
}
